#!/usr/bin/env python
# -*- coding:utf-8 -*-
import home
print "web page"
url= raw_input("url:")
#url="home/dev"
controller,action=url.split("/")
#action is 字符串
#去某个容器（home模块）中找函数，字符串函数名，如果有，则获取函数的执行结果
func=getattr(home,action)
# func= def dev1():
#           return "result home.dev"
ret=func()
print ret